#ifndef CITY_MODIFY_DIALOG_H
#define CITY_MODIFY_DIALOG_H

#include <QDialog>
#include "city.h"
#include <QSet>
#include <QMessageBox>
namespace Ui {
class city_modify_Dialog;
}

class city_modify_Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit city_modify_Dialog(QSet<QString>& City_name, QSet<QString>& Country_name, City& city, QWidget *parent = nullptr);
    ~city_modify_Dialog();

    City get_city();
private slots:
    void on_pushButton_canle_clicked();

    void on_pushButton_ok_clicked();

private:
    Ui::city_modify_Dialog *ui;
    City cit;
    QSet<QString> city_name;
    QSet<QString> country_name;
};

#endif // CITY_MODIFY_DIALOG_H
